package com.hnust.service;


import com.hnust.domain.*;
import retrofit2.Callback;

import java.util.List;
import java.util.Map;

/**
 * 创建人：zhangRuWang
 * 创建时间：2020/10/28
 * 描述：
 */
public interface TeacherService {
    void teacherLogin(Callback<Result<LoginData>> callback, String account, String password);
    void getCourseInfo(Callback<Result<Map<String, Object>>> callback, String id, String token, String group_id, String now_page);
    void getInfo(Callback<Result<UserInfo>> callback, String id, String token);
    void getCourseTargetList(Callback<Result<List<SubjectData>>> callback, String id, String token, String course_id);
    void getCourseTeaByName(Callback<Result<List<GroupMember>>> callback, String token, String group_id, String teacher_name);

    void teacherRegister(Callback<Result<Boolean>> callback,String name,String number,
                         String password,String phone,String email,String collegeId);

    void getAllCollege(Callback<Result<List<College>>> callback);
}
